package com.ziyun.pop.common.e.order;

import com.ziyun.pop.common.e.BaseEnum;

/**
 * @author gaosheng
 * @Description: 订单支付状态
 */
public enum PayStatusEnum implements BaseEnum{

    /**
     * 0.未支付
     */
    NOT_PAY_0("0","未支付"),

    /**
     * 1.已支付
     */
    ALREADY_PAY_1("1","已支付"),

    /**
     * 2.已付款至担保方
     */
    PAY_FINAL_2("2","已付款至担保方"),

    /**
     * 3.部分付款
     */
    PAY_PART_3("3","部分付款"),

    /**
     * 4.部分退款
     */
    REFUNDS_PART_4("4","部分退款"),

    /**
     * 5.全额退款
     */
    REFUNDS_COMPLETE_5("5","全额退款"),

    /**
     * 6.大纸、企业集采订单，待审核
     */
    PAPER_WAIT_AUDIT_6("6","待审核"),

    /**
     * 7.线下已支付
     */
    PAY_OFFLINE_7("7","线下已支付"),

    /**
     * 8.已支付待审核(转账)
     */
    TRANSFER_8("8","已支付待审核"),
    /**
     * 9.挂账(门店)
     */
    TRANSFER_9("9","挂账"),
    ;

    private String code;
    private String describe;

    PayStatusEnum(String code, String describe){
        this.code = code;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return 0;
    }

    @Override
    public String toCode() {
        return code;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
